<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--360浏览器优先以webkit内核解析-->
    <title>若依介绍</title>
    <link rel="shortcut icon" href="favicon.ico">
    <link href="../static/css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link href="../static/css/font-awesome.min.css" th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
    <link href="../static/css/style.min.css" th:href="@{/css/style.min.css}" rel="stylesheet"/>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-4">

            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>神农百草</h5>
                </div>
                <div class="ibox-content" style="height: 500px">
                    <div class="col-sm-12 ">
                        <table id="bootstrap-table"></table>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-8">

            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>本草详解</h5>
                </div>
                <div class="ibox-content" style="height: 500px">

                </div>
            </div>
        </div>
    </div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    var editFlag = [[${@permission.hasPermi('zy:bencao:edit')}]];
    var removeFlag = [[${@permission.hasPermi('zy:bencao:remove')}]];
    var prefix = ctx + "zy";

    $(function() {
        var options = {
            url: prefix + "/list",
            showFooter: false,
            showSearch: false,
            showRefresh: false,
            showToggle: false,
            showColumns: false,
            modalName: "中药本草",
            columns: [
                {
                    field: 'bencaoId',
                    title: '主键',
                    visible: false
                },
                {
                    field: 'name',
                    title: '名称'
                },
                {
                    field: 'nikeName',
                    title: '其他名称'
                },
                {
                    field: 'pingYing',
                    title: '拼音'
                },
                {
                    field: 'content',
                    title: '内容',
                    visible: false
                },]
        };
        $.table.init(options);


    });
</script>


</body>
</html>